$OpenBSD: patch-Makefile,v 1.3 2014/10/23 13:43:05 nigel Exp $
Honour CC and CFLAGS
--- Makefile.orig	Mon May 16 13:59:42 2011
+++ Makefile	Sun Mar 17 23:54:29 2013
@@ -44,8 +44,8 @@ DEST = ${DESTDIR}/${PREFIX}/bin
 # CC=xlc
 
 # other.  cc usually works too.
-CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
-CC=gcc
+CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE)
+CC?=gcc
 # CC?=gcc
 
 OBJECTS = dpic.o p2clib.o
